<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Admin\Controller\Admin' => 'Admin\Controller\AdminController',
			'Admin\Controller\User' => 'Admin\Controller\UserController',
			'Admin\Controller\Tintuc' => 'Admin\Controller\TintucController',
			'Admin\Controller\Slider' => 'Admin\Controller\SliderController',
			'Admin\Controller\Hocsinh' => 'Admin\Controller\HocsinhController',
			'Admin\Controller\Lop' => 'Admin\Controller\LopController',
			'Admin\Controller\Giaovien' => 'Admin\Controller\GiaovienController',
			'Admin\Controller\Monhoc' => 'Admin\Controller\MonhocController',
			'Admin\Controller\Thoikhoabieu' => 'Admin\Controller\ThoikhoabieuController',
			'Admin\Controller\Lichday' => 'Admin\Controller\LichdayController',
			'Admin\Controller\Bangdiem' => 'Admin\Controller\BangdiemController',
			'Admin\Controller\Lienket' => 'Admin\Controller\LienketController',
			'Admin\Controller\Laytin' => 'Admin\Controller\LaytinController',
			'Admin\Controller\Menu' => 'Admin\Controller\MenuController',
			'Admin\Controller\Photo' => 'Admin\Controller\PhotoController',
			'Admin\Controller\Gallery' => 'Admin\Controller\GalleryController',
			'Admin\Controller\Thongtin' => 'Admin\Controller\ThongtinController',
        ),
    ),

    'router' => array(
        'routes' => array(
            'admin' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/admin[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'ASC|DESC',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Admin',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'user' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/user[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'ASC|DESC',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\User',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			
			'tintuc' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/tintuc[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Tintuc',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			
			'slider' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/slider[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Slider',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			
			'hocsinh' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/hocsinh[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Hocsinh',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'lop' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/lop[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Lop',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'giaovien' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/giaovien[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Giaovien',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'monhoc' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/monhoc[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Monhoc',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'thoikhoabieu' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/thoikhoabieu[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Thoikhoabieu',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'lichday' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/lichday[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Lichday',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'bangdiem' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/bangdiem[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Bangdiem',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'lienket' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/lienket[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Lienket',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'laytin' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/laytin[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Laytin',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'menu' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/menu[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Menu',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'photo' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/photo[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Photo',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'gallery' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/gallery[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Gallery',
                        'action'     => 'index',
                    ),
                ),
            ),
			
			'thongtin' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/thongtin[/:action][/:id][/page/:page][/order_by/:order_by][/:order]',
                    'constraints' => array(
                        'action' => '(?!\bpage\b)(?!\border_by\b)[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                        'page' => '[0-9]+',
                        'order_by' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'order' => 'asc|desc',
                    ),
                    'defaults' => array(
                        'controller' => 'Admin\Controller\Thongtin',
                        'action'     => 'index',
                    ),
                ),
            ),
			

        ),
    ),

    'view_manager' => array(
		
        'template_path_stack' => array(
            'admin' => __DIR__ . '/../view',
        ),
        'template_map' => array(
			
            'paginator-slide1' => __DIR__ . '/../view/layout/slidePaginator1.phtml',
        ),
    ),
	
	
);